package net.ericaro.neojavagen.types;

/**
 * <b>Wildcard</b> ::= "?" <{@link net .ericaro .neojavagen .types .WildcardBounds WildcardBounds}>?
 * 
 * @author eric@ericaro.net
 */
public class Wildcard extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.types.ActualTypeArgument {
	private net.ericaro.neojavagen.types.WildcardBounds wildcardBounds;

	public Wildcard() {
		this.wildcardBounds = null;
	}

	public Wildcard(net.ericaro.neojavagen.types.WildcardBounds wildcardBounds) {
		super();
		this.wildcardBounds = wildcardBounds;
	}

	public net.ericaro.neojavagen.types.WildcardBounds getWildcardBounds() {
		return wildcardBounds;
	}

	public void setWildcardBounds(net.ericaro.neojavagen.types.WildcardBounds wildcardBounds) {
		this.wildcardBounds = wildcardBounds;
	}

	@Override
	public java.lang.String toString() {
		return print("?", wildcardBounds);
	}
}
